import React from 'react';
import ReactDOM from 'react-dom';
import {BrowserRouter,Route, Switch} from "react-router-dom";
import './index.css';
import Main from './page/main';
import Shopping from './page/shopping'

import reportWebVitals from './reportWebVitals';

ReactDOM.render(
  <React.StrictMode>
    <BrowserRouter>
        <Switch>
            <Route path={'/shopping'} component={Shopping}/>
            <Route component={Main}/>
        </Switch>
    </BrowserRouter>
  </React.StrictMode>,
    document.getElementById("root")
);
reportWebVitals();
